package com.zjm.zdk;

public interface Named {
    default String getName() {
        return "Named.getName";
    }

    public static void main(String[] args) {
        Student student = new Student();
        System.out.println(student.getName());
    }
}

interface Person  {
    default String getName() {
        return "Person.getName";
    }
}

class Student implements Named, Person{

    @Override
    public String getName() {
        return Named.super.getName();
    }
}


